function myFunction(dom) {
    var str = dom.innerHTML == "解除限制"?   "限制登录" : "解除限制";
    dom.innerHTML = str;
}